package com.dq.context.listener.user;

import com.dq.context.event.user.UserOrderReturnEvent;
import com.dq.repository.record.ProfitRecordRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author luchangtong
 * @Date 2019/12/4 18:38
 */
public class UserOrderReturnEventListener implements ApplicationListener<UserOrderReturnEvent> {
    @Autowired
    protected ProfitRecordRepository profitRecordRepository;

    /**
     * 扣返佣
     *
     * @param userOrderReturnEvent
     */
    @Override
    @Transactional
    public void onApplicationEvent(UserOrderReturnEvent userOrderReturnEvent) {
    }
}
